﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="fm" uri="http://www.springframework.org/tags/form"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>
<div class="right">
	<div class="location">
		<strong>你现在所在的位置是:</strong> <span>我的申请 >> 申请会议室页面 >> 填写会议信息</span>
	</div>
	<div class="providerAdd">
		<fm:form id="meetingForm" method="post" modelAttribute="meeting" action="${pageContext.request.contextPath }/meeting/save.html">
			<!--div的class 为error是验证错误，ok是验证成功-->
			<input type="hidden" name="roomid" value="${meeting.roomid}">
			<input type="hidden" name="usetime" value="${meeting.usetime}">
			<input type="hidden" name="usedate" value="${meeting.usedate}">
			<div>
				<label for="theme">会议主题：</label>
				<fm:input path="theme"/>
				<font color="red"></font>
				<fm:errors path="theme" cssStyle="color:red"/>

			</div>
			<div>
				<label for="abstracts">会议摘要：</label>
				<fm:textarea path="abstracts"/>
				<font color="red"></font>
				<fm:errors path="abstracts" cssStyle="color:red"/>
			</div>

			<div>
				<label >与会人员：</label>
				<c:forEach var="attendee" items="${userlist1}">
					<input type="checkbox" name="aids" value="${attendee.id}">${attendee.name}
				</c:forEach>
			</div>

			<input type="hidden" name="status" id="status" value="">
			<div class="providerAddBtn">
				<input type="button" name="save" id="save" value="保存">
				<input type="button" name="commit" id="commit" value="提交">
				<input type="button" id="back" name="back" value="返回">
			</div>
		</fm:form>
	</div>
</div>
</section>
<%@include file="/WEB-INF/jsp/common/foot.jsp"%>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/meetingadd.js"></script>

